﻿using System;
using System.Collections.Generic;
using System.Web;

namespace SaleManagement.DTO
{
    public class Order
    {
        //Instance field
        private int OrderID;
        private int CustomerID;
        private DateTime OrderDate;

        public int orderID
        {
            get { return OrderID; }
            set { OrderID = value; }
        }
        
        public int customerID
        {
            get { return CustomerID; }
            set { CustomerID = value; }
        }
        
        public DateTime orderDate
        {
            get { return OrderDate; }
            set { OrderDate = value; }
        }

        //Constructor without parameter
        public Order() { }

        //Constructor with parameter
        public Order(int OrderID,int CustomerID,DateTime OrderDate)

        {
            this.OrderID = OrderID;
            this.CustomerID = CustomerID;
            this.OrderDate = OrderDate;
        }
    }
}